package com.example.finalwork06.Mapper;

import com.example.finalwork06.Entity.CrawlerLog;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;



@Mapper
public interface CrawlerLogMapper {
    @Insert("INSERT INTO CRAWLER_LOGS( action_description, website_url, start_time, end_time, data_table_name) " +
            "VALUES ( #{actionDescription}, #{websiteUrl}, #{startTime}, #{endTime}, #{dataTableName})")
    public void insertLog(CrawlerLog crawlerLog);
}